<!DOCTYPE html>
<html lang="es">
<head>
	<meta charset="utf-8">
	<title><?php echo $seo['titulo'];?></title>

<?php
	if(isset($this->carabiner)){
		$this->carabiner->display('css');
		$this->carabiner->display('js');
	}
?>

	<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
	  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->

<script type="text/javascript" charset="UTF-8">
	var base_url = "<?php echo base_url();?>",
	opcmenu_active = '<?php echo isset($opcmenu_active)? $opcmenu_active: 0;?>';
</script>
</head>
<body>

	<!-- topbar starts -->
	<div class="navbar">
		<div class="navbar-inner navinner">
			<div class="container-fluid">
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</a>
				
				<a class="brand" href="<?php echo base_url(); ?>"> 
					<img alt="logo" src="<?php echo base_url('application/images/logo.png'); ?>" width="67" height="67">
					<img class="txt-headtic" src="<?php echo base_url('application/images/head_titulo_tic1.png'); ?>">
				</a>

				<div class="head_slogan slides">
					<div class="slides_container">
						<img width="242" height="20" src="<?php echo base_url('application/images/slogan1.png'); ?>">
						<img width="242" height="20" src="<?php echo base_url('application/images/slogan2.png'); ?>">
						<img width="242" height="20" src="<?php echo base_url('application/images/slogan3.png'); ?>">
						<img width="242" height="20" src="<?php echo base_url('application/images/slogan4.png'); ?>">
						<img width="242" height="20" src="<?php echo base_url('application/images/slogan5.png'); ?>">
						<img width="242" height="20" src="<?php echo base_url('application/images/slogan6.png'); ?>">
					</div>
				</div>

				<form action="<?php echo base_url('tic/buscar'); ?>" method="get" id="frmbuscar" class="form-inline span3" style="margin-top: 11px;">
					<div class="input-prepend span3" style="text-align: right;">
						<span class="add-on"><i class="icon-search"></i>
						</span><input type="text" name="q" id="q" value="<?php echo $this->input->get('q'); ?>" class="span2" 
							autofocus placeholder="Encuéntralo rápido">
					</div>
				</form>
				
				<!-- user dropdown starts -->
				<div class="btn-group pull-right" >
					<a class="btn btn-tic dropdown-toggle" data-toggle="dropdown" href="#">
						<i class="icon-user icon-blank"></i><span class="hidden-phone"> <?php echo $this->session->userdata('nombre'); ?></span>
						<span class="caret"></span>
					</a>
					<ul class="dropdown-menu">
						<li><a href="javascript:void(0);" id="dropdown-menu-perfil">Perfil</a></li>
						<li><a href="JavaScript:pagosPendientes();void(0);">Pagos pendientes</a></li>
						<li class="divider"></li>
				<?php if ($this->session->userdata('acceso') == 'admin') { ?>
						<li><a href="<?php echo base_url('free/'); ?>">Acceso gratuito</a></li>
						<li class="divider"></li>
				<?php } ?>
						<li><a href="<?php echo base_url('home/logout'); ?>">Cerrar sesión</a></li>
					</ul>
				</div>
				<!-- user dropdown ends -->
				
			</div>
		</div>
	</div>
	<!-- topbar ends -->

	<div class="container-fluid">
		<div class="row-fluid">